]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesDisplay: Cancel click when panning
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 24 Jun 2016 16:10:28 +0000 (18:10 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 27 Jun 2016 14:31:00 +0000 (16:31 +0200)
When switching between workspaces via panning, we don't want to
leave the overview when we end up on an empty workspace.

https://bugzilla.gnome.org/show_bug.cgi?id=766883

js/ui/workspacesView.js

index 6c66f3e6167aa7a17dc0c91e0d3dd38d1ba2e966..e5166615ce7a8dbfa0eb181eeee578cf523e9a55 100644 (file)
@@ -436,6 +436,7 @@ const WorkspacesDisplay = new Lang.Class({
             return true;
         }));
         panAction.connect('gesture-cancel', Lang.bind(this, function() {
+            clickAction.release();
             for (let i = 0; i < this._workspacesViews.length; i++)
                 this._workspacesViews[i].endSwipeScroll();
         }));